menu: Add diagrams to CSS documentation
authorMatthias Clasen <mclasen@redhat.com>
Tue, 3 Nov 2015 19:24:25 +0000 (14:24 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 3 Nov 2015 19:27:35 +0000 (14:27 -0500)
gtk/gtkcheckmenuitem.c
gtk/gtkmenu.c
gtk/gtkmenuitem.c
gtk/gtkradiomenuitem.c

index 6a1ad2298eced14e1f73b4032657d299d54bd6e1..3b2655294005b053b68b111e46b065a6a541315b 100644 (file)
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * menuitem
+ * ├── ...
+ * ╰── check.right
+ * ]|
+ *
  * GtkCheckMenuItem has a main CSS node with name menuitem, and a subnode
  * with name check, which gets the .left or .right style class.
  */
index 3bbc9aac2c14716e81196cefb876d59f9d6a710c..a3da298e55d898a021f7b950a7ca3a0dc08e97a8 100644 (file)
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * menu
+ * ├── arrow.top
+ * ├── ...
+ * ╰── arrow.bottom
+ * ]|
+ *
  * The main CSS node of GtkMenu has name menu, and there are two subnodes
  * with name arrow, for scrolling menu arrows. These subnodes get the
  * .top and .bottom style classes.
index 450fb70e5a65882d3e2e773db14568e213414163..688ecee92ffef4ff46966a2bd144614c21180627 100644 (file)
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * menuitem
+ * ├── ...
+ * ╰── [arrow.right]
+ * ]|
+ *
  * GtkMenuItem has a single CSS node with name menuitem. If the menuitem
  * has a submenu, it gets another CSS node with name arrow, which has
  * the .left or .right style class.
index 9438ed8fbd515bf3031f1fa8fbbb821b7aeb69c8..919b8473f83f4df1629c1c35ae48202b77531a56 100644 (file)
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * menuitem
+ * ├── ...
+ * ╰── radio
+ * ]|
+ *
  * GtkRadioMenuItem has a main CSS node with name menuitem, and a subnode
  * with name radio, which gets the .left or .right style class.
  */